#include <winsock2.h>
#include "Global/global.h"

Global::Global()
{
	ZeroMemory( m_selfID, CHARACTER_ID_LENGTH + 1 );
}

Global::~Global()
{
}

char *Global::getSelfID()
{
	return ( m_selfID );
}

void Global::setSelfID( char *id )
{
	strncpy( m_selfID, id, CHARACTER_ID_LENGTH );
}

bool Global::isSelfID( char *id )
{
	return ( strcmp( id, m_selfID ) ? false : true );
}